package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by rize on 2019/7/4.
 */
@Data
@TableName("unimall_card")
@AllArgsConstructor
@NoArgsConstructor
public class CardDO extends SuperDO {

    private String title;

    @TableField("card_no")
    private String cardNo;
    //图片
    private String img;
    private Integer type;

    private String description;

    private Integer total;

    private Integer surplus;

    private Integer limit;

    private Integer money;

    private Integer days;

    private Integer status;

    @TableField("card_use")
    private Integer cardUse;

    @TableField("admin_id")
    private Long adminId;

    @TableField("source")
    private Integer source;

    //可以提货数量
    @TableField("all_stock")
    private Integer allStock;
}
